From a7fc987c2e0dfc58a4fd3b52d1df1725db61e855 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 13 Mar 2001 10:38:27 +0000 Subject: [PATCH] (xmenu_show) [LESSTIF_VERSION]: Take out the code removing button grabs. --- src/xmenu.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/xmenu.c b/src/xmenu.c index 1c39e86ed26..004458adeda 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -2207,17 +2207,6 @@ xmenu_show (f, x, y, for_click, keymaps, title, error) /* Process events that apply to the menu. */ popup_get_selection ((XEvent *) 0, FRAME_X_DISPLAY_INFO (f), menu_id); -#ifdef LESSTIF_VERSION - /* Nov 1998: For an unknown reason a button grab remains active - after the popup menu has gone. */ - XUngrabButton (XtDisplay (f->output_data.x->widget), - AnyButton, AnyModifier, - XtWindow (f->output_data.x->widget)); - XUngrabButton (XtDisplay (f->output_data.x->edit_widget), - AnyButton, AnyModifier, - XtWindow (f->output_data.x->edit_widget)); -#endif /* LESSTIF_VERSION */ - /* fp turned off the following statement and wrote a comment that it is unnecessary--that the menu has already disappeared. Nowadays the menu disappears ok, all right, but -- 2.30.2